<?php



$a = '{
    "choices": [
        {
            "message": {
                "content": "{\n  \"skin_tatus\": 85,\n  \"skin_fine\": 78,\n  \"skin_clean\": 90,\n  \"skin_health\": 82,\n  \"skin_young\": 75,\n  \"dark_eyes\": 1,\n  \"eyes_type\": {\n    \"left_eye\": \"血管型\",\n    \"right_eye\": \"色素型\"\n  },\n  \"sensitive_level\": 1,\n  \"sensitive_area_percentage\": 30,\n  \"sensitive_analysis\": \"皮肤敏感面积占比为30%，主要集中在脸颊和鼻翼两侧，表现为轻微红血丝和局部微热感。\",\n  \"oil_gloss_state\": 1,\n  \"wrinkle_state\": 1,\n  \"wrinkle_analysis\": \"面部存在少量浅纹，主要分布在眼周和额头，深纹较少，整体皮肤弹性较好。\",\n  \"acne_state\": 0,\n  \"skin_age\": 28,\n  \"skin_type\": 2,\n  \"sensitivity_type\": 1,\n  \"pigmentation_type\": 1,\n  \"wrinkle_type\": 2,\n  \"scar_count\": 0,\n  \"comedone_count\": 2\n}\n",
                "role": "assistant"
            },
            "finish_reason": "stop",
            "index": 0,
            "logprobs": null
        }
    ],
    "object": "chat.completion",
    "usage": {
        "prompt_tokens": 1719,
        "completion_tokens": 258,
        "total_tokens": 1977
    },
    "created": 1743040531,
    "system_fingerprint": null,
    "model": "qwen2.5-vl-32b-instruct",
    "id": "chatcmpl-29eb0b6a-6006-9016-8aea-364dd6d27c3a"
}';

$a = json_decode($a, true);

$content = $a['choices'][0]['message']['content'];
$content = json_decode($content, true);
var_dump($content);exit();